/*
 *  Encryptable.h
 *  TubeTruck
 *
 *  Created by Aeturnum on 6/4/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#pragma once

#include <vector>

namespace TTP {
   namespace Crypt {
      class Encryptable {
      protected:
         std::vector<byte> mEncryptedSection;
         bool mEncrypted;
      public:
         Encryptable() : mEncrypted(false){}
         ~Encryptable(){}
         
         virtual std::vector<byte> getEncryptedSection() = 0;
         virtual void setEncryptedData(std::vector<byte>&) = 0;
         virtual void setPlainText(std::vector<byte>&) = 0;
      };
   }
}